package com.qzdsoft.erpcloud.service.sys;

import java.util.List;

import com.qzdsoft.erpcloud.domain.sys.SysTableAuthField;
import com.qzdsoft.erpcloud.vo.sys.SysTableAuthFieldInfo;
import com.qzdsoft.erpcloud.vo.sys.SysTableAuthFieldQueryInfo;
import com.qzdsoft.vo.LayTableResponse;
import com.qzdsoft.vo.Response;

/**
 * Created by Admin
 */
public interface SysTableAuthFieldService {

    SysTableAuthField selectById(Integer id);

    Response saveOrUpd(SysTableAuthField sysTableAuthField);

    Response delete(Integer id);

    /**
     * 页面初始化查询
     * @param info
     * @return
     */
    LayTableResponse<SysTableAuthField> selectData(SysTableAuthFieldQueryInfo info);
    /**
     * 表格配置初始化查询
     * @param info
     * @return
     */
    List<SysTableAuthFieldInfo> selectByTableId(Integer tableId,Integer roleId);

}
